Skip to content

Refactor TeaVM backend system and include Gradle plugin#115

Draft
stringdotjar wants to merge 2 commits intodevelopfrom
refactor/teavm
Draft

Refactor TeaVM backend system and include Gradle plugin#115
stringdotjar wants to merge 2 commits intodevelopfrom
refactor/teavm

Conversation

@stringdotjar
Copy link
Copy Markdown
Owner

@stringdotjar stringdotjar commented Apr 7, 2026

Description

This PR refactors the framework to be more compatible with TeaVM while also not breaking the other platforms.

It does the following:

  • Rework the audio system to not include gdx-miniaudio in the core module, since miniaudio is a native C-based library and it currently isn't support for TeaVM (yet).
  • Add a Gradle plugin to make development much easier for web game development. It automatically creates an index.html file, a flixelgdx {} extension block to customize your web game, and much more!
  • Remove Box2D, as developers can add it themselves if they want to. They should use the native AABB system FlixelGDX provides.

Type of Change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation update
  • Refactor / Optimization
  • Other (please specify in description)

Checklist

  • My PR targets the develop branch, not master/main.
  • My code follows the code style of this project (if any code was added or changed).
  • I have performed a self-review of my own code (if any code was added or changed).
  • I have commented my code, particularly in hard-to-understand areas (if any code was added or changed).
  • My changes pass all automated build checks.
  • I have updated the documentation accordingly (if applicable).
  • I have added tests that prove my fix is effective or that my feature works (if any code was added or changed).

Screenshots / Evidence (if applicable)

Add screenshots or logs to help explain your changes.

@stringdotjar stringdotjar self-assigned this Apr 7, 2026
@stringdotjar stringdotjar added enhancement New feature or request core Core logic module of the framework teavm Web transpiler backend module audio Audio system refactor Parts of the code need to be moved, enhanced, changed, or removed codebase lifecycle Unit tests, codebase structure, modules, Gradle, etc gradle Codebase build system bug fix A solution was made for a problem that caused unintended output labels Apr 7, 2026
@stringdotjar stringdotjar moved this from 🗒️ Todo to 🏗️ In Progress in FlixelGDX Project Board Apr 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

audio Audio system bug fix A solution was made for a problem that caused unintended output codebase lifecycle Unit tests, codebase structure, modules, Gradle, etc core Core logic module of the framework enhancement New feature or request gradle Codebase build system refactor Parts of the code need to be moved, enhanced, changed, or removed teavm Web transpiler backend module

Projects

Status: 🏗️ In Progress

Development

Successfully merging this pull request may close these issues.

1 participant